get text directly from database